<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="description" content="">
	<meta name="author" content="">
	<link rel="stylesheet" href="/sso/webjars/bootstrap/3.3.6/css/bootstrap.min.css" />

	<!--[if lt IE 9]>
		<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
		<script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
		<![endif]-->
	<style>
		#top {
			margin-top: 20px;
			font: 12px/19px 微软雅黑, Verdana, sans-serif, 宋体;
		}

		#login {
			margin-top: 100px;
		}
	</style>
	<title>登录</title>
</head>

<body>
	<div class="container">
		<div id="top" class="pull-right">
			<a href="/">回到首页</a>
		</div>
		<div class="row">
			<div class="col-xs-8 col-xs-offset-2">
				<div id="login" class="panel">
					<div class="panel-heading">
						<h2 class="text-center">会员登录</h2>
					</div>
					<div class="panel-body">
						<div class="alert alert-danger fade in">
							<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
							<h4>用户名或密码不正确。</h4>
						</div>
						<form class="form-horizontal" method="post" action="/sso/sso/si">
							<div class="input-group">
								<input type="hidden" name="target" value="" th:value="${target}" />
								<span class="input-group-addon">
									<span class="glyphicon glyphicon-user"></span>
								</span>
								<input name="username" type="text" class="form-control" placeholder="用户名" required="required" />
							</div>
							<div class="input-group">
								<span class="input-group-addon">
									<span class="glyphicon glyphicon-lock"></span>
								</span>
								<input name="password" type="password" class="form-control" placeholder="密码" required="required" />
							</div>
							<div class="form-group">
								<div class="col-xs-4 col-xs-offset-1">
									<div class="checkbox">
										<label>
											<input id="rememberMe1" name="rememberMe" type="checkbox" value="true">
											<input type="hidden" name="_rememberMe" value="on">自动登录
										</label>
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="col-xs-offset-2 col-xs-4">
									<button type="submit" class="btn btn-success btn-block">登陆</button>
								</div>
								<div class="col-xs-4">
									<a target="_blank" href="regist/start" class="btn btn-success btn-block">注册</a>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<footer>
		<div class="row">
			<div class="col-xs-4"></div>
			<div class="col-xs-4">
				<p class="text-center">版权所有</p>
			</div>
			<div class="col-xs-4"></div>
		</div>
	</footer>
	<script type="text/javascript" src="/sso/webjars/jquery/2.2.4/jquery.min.js"></script>
	<script type="text/javascript" src="/sso/webjars/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</body>

</html>